package com.gxpt.app.adapter;

import android.content.Context;
import android.widget.ImageView;
import android.widget.TextView;

import com.gxpt.app.AppUtils;
import com.gxpt.app.Constant;
import com.gxpt.app.R;
import com.gxpt.app.base.ListBaseAdapter;
import com.gxpt.app.base.SuperViewHolder;
import com.gxpt.app.bean.mystore_bean;
import com.gxpt.app.bean.newlist_bean;
import com.utils.ScreenUtils;
import com.utils.picasso.PicassoUtils;

/**
 * Created by Lzx on 2016/12/30.
 */

public class mystore_Adapter extends ListBaseAdapter<mystore_bean.mystore> {

    Context context;
    public mystore_Adapter(Context context) {
        super(context);
        this.context = context;
    }

    @Override
    public int getLayoutId() {
        return R.layout.item_mystore_list;
    }

    @Override
    public void onBindItemHolder(SuperViewHolder holder, int position) {
        mystore_bean.mystore item = mDataList.get(position);

        TextView txt_name = holder.getView(R.id.txt_name);
        txt_name.setText(item.name);

        TextView txt_id = holder.getView(R.id.txt_id);
        txt_id.setText(item.id);
    }
}
